package work.chenbo.springboot.elasticsearch.service;

import work.chenbo.springboot.elasticsearch.entity.NbaPlayer;

import java.util.List;

public interface NbaPlayerService {

    /**
     * 查询全部
     * @author ChenBo
     * @date 2020/11/4
     */
    List<NbaPlayer> selectAll();

    /**
     * 更具ID查询一个
     * @author ChenBo
     * @date 2020/11/4
     */
    NbaPlayer selectOneById(Integer id);
}
